package com.tm.d19_abstract;
/**
 * 2024/5/20 Cjj 猫继承动物类
 */
public class Cat extends Animal{
    @Override
    public void cry() {
        System.out.println(getName()+"喵喵喵的叫~~");
    }
}
